package com.hgd.security.evp.biz.entity;

import org.hibernate.validator.constraints.NotBlank;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author By Shang
 * @email ${email}
 * @version 2019-03-20 22:56:10
 */
@Table(name = "evp_menu")
public class EvpMenu implements Serializable {
	private static final long serialVersionUID = 1L;
	
	    //
    @Id
    private Integer id;
	
	    //菜单编码
	@NotBlank(message = "菜单编码不能为空")
    @Column(name = "evp_code")
    private String evpCode;
	
	    //标题
    @Column(name = "evp_title")
	@NotBlank(message = "菜单标题不能为空")
    private String evpTitle;
	
	    //父级节点
    @Column(name = "parent_id")
    private Integer parentId;
	
	    //资源路径
    @Column(name = "evp_href")
    private String evpHref;
	
	    //图标
    @Column(name = "evp_icon")
    private String evpIcon;
	
	    //
    @Column(name = "evp_type")
    private String evpType;
	
	    //排序
    @Column(name = "order_num")
    private Integer orderNum;
	
	    //描述
    @Column(name = "description")
    private String description;
	
	    //菜单上下级关系
    @Column(name = "evp_path")
    private String evpPath;
	
	    //启用禁用
    @Column(name = "enabled")
    private String enabled;
	
	    //
    @Column(name = "crt_time")
    private Date crtTime;
	
	    //
    @Column(name = "crt_user_id")
    private Integer crtUserId;
	
	    //
    @Column(name = "crt_user_name")
    private String crtUserName;
	
	    //
    @Column(name = "upd_time")
    private Date updTime;
	
	    //
    @Column(name = "upd_user_id")
    private Integer updUserId;
	
	    //
    @Column(name = "upd_user_name")
    private String updUserName;
	
	    //租户Id
    @Column(name = "tenant_id")
    private String tenantId;

    @Column(name = "is_deleted")
    private String isDeleted;
	

	/**
	 * 设置：
	 */
	public void setId(Integer id) {
		this.id = id;
	}
	/**
	 * 获取：
	 */
	public Integer getId() {
		return id;
	}
	/**
	 * 设置：路径编码
	 */
	public void setEvpCode(String evpCode) {
		this.evpCode = evpCode;
	}
	/**
	 * 获取：路径编码
	 */
	public String getEvpCode() {
		return evpCode;
	}
	/**
	 * 设置：标题
	 */
	public void setEvpTitle(String evpTitle) {
		this.evpTitle = evpTitle;
	}
	/**
	 * 获取：标题
	 */
	public String getEvpTitle() {
		return evpTitle;
	}
	/**
	 * 设置：父级节点
	 */
	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}
	/**
	 * 获取：父级节点
	 */
	public Integer getParentId() {
		return parentId;
	}
	/**
	 * 设置：资源路径
	 */
	public void setEvpHref(String evpHref) {
		this.evpHref = evpHref;
	}
	/**
	 * 获取：资源路径
	 */
	public String getEvpHref() {
		return evpHref;
	}
	/**
	 * 设置：图标
	 */
	public void setEvpIcon(String evpIcon) {
		this.evpIcon = evpIcon;
	}
	/**
	 * 获取：图标
	 */
	public String getEvpIcon() {
		return evpIcon;
	}
	/**
	 * 设置：
	 */
	public void setEvpType(String evpType) {
		this.evpType = evpType;
	}
	/**
	 * 获取：
	 */
	public String getEvpType() {
		return evpType;
	}
	/**
	 * 设置：排序
	 */
	public void setOrderNum(Integer orderNum) {
		this.orderNum = orderNum;
	}
	/**
	 * 获取：排序
	 */
	public Integer getOrderNum() {
		return orderNum;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：菜单上下级关系
	 */
	public void setEvpPath(String evpPath) {
		this.evpPath = evpPath;
	}
	/**
	 * 获取：菜单上下级关系
	 */
	public String getEvpPath() {
		return evpPath;
	}
	/**
	 * 设置：启用禁用
	 */
	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}
	/**
	 * 获取：启用禁用
	 */
	public String getEnabled() {
		return enabled;
	}
	/**
	 * 设置：
	 */
	public void setCrtTime(Date crtTime) {
		this.crtTime = crtTime;
	}
	/**
	 * 获取：
	 */
	public Date getCrtTime() {
		return crtTime;
	}
	/**
	 * 设置：
	 */
	public void setCrtUserId(Integer crtUserId) {
		this.crtUserId = crtUserId;
	}
	/**
	 * 获取：
	 */
	public Integer getCrtUserId() {
		return crtUserId;
	}
	/**
	 * 设置：
	 */
	public void setCrtUserName(String crtUserName) {
		this.crtUserName = crtUserName;
	}
	/**
	 * 获取：
	 */
	public String getCrtUserName() {
		return crtUserName;
	}
	/**
	 * 设置：
	 */
	public void setUpdTime(Date updTime) {
		this.updTime = updTime;
	}
	/**
	 * 获取：
	 */
	public Date getUpdTime() {
		return updTime;
	}
	/**
	 * 设置：
	 */
	public void setUpdUserId(Integer updUserId) {
		this.updUserId = updUserId;
	}
	/**
	 * 获取：
	 */
	public Integer getUpdUserId() {
		return updUserId;
	}
	/**
	 * 设置：
	 */
	public void setUpdUserName(String updUserName) {
		this.updUserName = updUserName;
	}
	/**
	 * 获取：
	 */
	public String getUpdUserName() {
		return updUserName;
	}
	/**
	 * 设置：租户Id
	 */
	public void setTenantId(String tenantId) {
		this.tenantId = tenantId;
	}
	/**
	 * 获取：租户Id
	 */
	public String getTenantId() {
		return tenantId;
	}

	public String getIsDeleted() {
		return isDeleted;
	}

	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}
}
